<?
	require_once('database.php');
	require_once('display_functions.php');
	$user = $_POST['user'];
	$name = sqlite_escape_string($_POST['name']);
	$due = strtotime($_POST['date']);

	addTask($name, date('U'), $due, 0, $user, $_POST['project']);
	printFullTaskList($user, 'cs147organizer.db');
?>